/**
 * 入院审核页面样式
 * 按照图片布局百分百还原
 */

/* 页面主容器 */
.rysj {
  width: 100vw;
  min-height: 100vh;
  background-color: #fff;
  padding-bottom: 80px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 顶部导航栏 */
.rysj-top {
  width: 100%;
  height: 44px;
  background-color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.rysj-top-left {
  width: 20px;
  height: 20px;
  margin-left: 15px;
  color: #333;
  cursor: pointer;
}

.rysj-top-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

/* 步骤指示器 */
.step-indicator {
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 20px 20px 20px 40px;
  position: relative;
  min-height: 80px;
  gap: 40px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #d9d9d9;
  border: 2px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-number {
  color: #999;
  font-size: 16px;
  font-weight: bold;
}

.step-label {
  font-size: 14px;
  color: #999;
  text-align: center;
  font-weight: 500;
}

.step-item.completed .step-circle {
  background-color: white;
  border-color: #333;
}

.step-item.completed .step-number {
  color: #333;
  font-weight: bold;
}

.step-item.completed .step-label {
  color: #333;
  font-weight: 500;
}

.step-item.active .step-circle {
  background-color: #87CEEB;
  border-color: #40a9ff;
}

.step-item.active .step-number {
  color: #40a9ff;
  font-weight: bold;
}

.step-item.active .step-label {
  color: #40a9ff;
  font-weight: 600;
}

.step-line {
  position: absolute;
  top: 35px;
  left: 90px;
  width: 50px;
  height: 1px;
  background-color: #807a7a;
  z-index: 1;
}

/* 审核通过状态横幅 */
.status-banner {
  background-color: #bbf3f2;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  
}

.status-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.status-content {
  flex: 1;
  
}

.status-title {
  font-size: 16px;
  font-weight: 600;
  color: #0ed3d0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.status-message {
  font-size: 14px;
  color: #0ed3d0;
  line-height: 1.5;
  opacity: 0.95;
}

/* 住院人信息区域 */
.patient-info-section {
  // background-color: #fff;
  padding: 16px;
  // box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.status-tag {
  background-color: #f0f0f0;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* 患者详细信息 */
.patient-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}

.detail-row {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.4;
  flex-wrap: wrap;
  gap: 4px;
}

.detail-label {
  color: #666;
  font-weight: 500;
  min-width: 60px;
}

.detail-value {
  color: #333;
  font-weight: 400;
  margin-right: 16px;
}

/* 底部按钮 */
.bottom-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.prepayment-button {
  width: 100%;
  background-color: #1890ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.prepayment-button:hover {
  background-color: #40a9ff;
}

.prepayment-button:active {
  background-color: #096dd9;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .status-banner {
    margin: 12px;
    padding: 14px;
  }
  
  .patient-info-section {
    margin: 0 12px 12px 12px;
    padding: 14px;
  }
  
  .detail-row {
    font-size: 13px;
  }
  
  .detail-label {
    min-width: 55px;
  }
}
